<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  	<%@ include file="/jspf/public.jspf" %>
  </head>
  
  <body> 
     <!-- 如果要测试基于Lucene的查询,那么添加商品信息不能在直接通过SQL语句而是要通过添加商品页面添加 -->
     <form action="${shop}/goods_query$.action" method="post">
                          关键字:<input type="text" name="name" /><br />
          <input type="submit" value="给我搜" />
     </form>
     =============================================<br />
     <c:forEach items="${requestScope.goodsList}" var="goods">
     	  商品名:${goods.name}<br />
     	  商品价格:${goods.price}<br />
     	 简单介绍:${goods.remark}<br />
     	 所属类别:${goods.category.type}<br />
     	 <a href="${shop}/goods_get.action?id=${goods.id}">详细</a><br />
     </c:forEach>
  </body>
</html>
